package cn.itcast.bos.repository;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.itcast.bos.domain.take_delivery.Order;
/**
 * JpaRepository<Courier, Integer>
 * 第一个参数是实体类
 * 第二个参数是实体类主键的数据类型
 * @author Administrator
 *
 */
public interface OrderRepository extends JpaRepository<Order, Integer>,JpaSpecificationExecutor<Order> {

	Order findByOrderNum(String orderNum);

}
